/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.pub.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.pub.entity.PubAffect;

/**
 * 单表生成DAO接口
 * @author zmy
 * @version 2019-04-18
 */
@MyBatisDao
public interface PubAffectDao extends CrudDao<PubAffect> {

	int updatelike(String articleid);

	int updatecollect(String articleid);

	int wxsave(@Param("id") String id,@Param("title") String title,@Param("authorname") String authorname,@Param("article") String article,@Param("imgurl") String imgurl,@Param("authorid") String authorid,@Param("publishtime") String publishtime,@Param("videourl") String videourl);

	List<Object[]> affectList();
	
}